package com.lemeng.service;

import com.lemeng.entity.PageResult;
import com.lemeng.pojo.Admin;
import com.lemeng.pojo.Order;

import java.util.List;
import java.util.Map;

public interface CartService {

    public void addCart(String username,String skuId,Integer num);

    public List<Map> findCart(String username);

    void changeCheckedState(String username, String ids);

    void delAll(String username, String ids);

    Integer getMyPreMoney(String username);

    Map<String, Object> submitOrder(String username,Order order);
}
